package com.yuyou.tas.util.bean;

import com.alibaba.fastjson.JSONObject;


public class ResourceObj {
		
	private Long userId;
		
	private Long classId;
	
	private Long organizationId;

	private Long targetId;
	
	
	
	public ResourceObj(Long userId, Long classId, Long organizationId) {
		super();
		this.userId = userId;
		this.classId = classId;
		this.organizationId = organizationId;
	}

	public ResourceObj(Long targetId,Long userId, Long classId, Long organizationId) {
		super();
		this.userId = userId;
		this.classId = classId;
		this.organizationId = organizationId;
		this.targetId=targetId;
	}



	public Long getTargetId() {
		return targetId;
	}





	public void setTargetId(Long targetId) {
		this.targetId = targetId;
	}





	public Long getUserId() {
		return userId;
	}





	public void setUserId(Long userId) {
		this.userId = userId;
	}





	public Long getClassId() {
		return classId;
	}





	public void setClassId(Long classId) {
		this.classId = classId;
	}





	public Long getOrganizationId() {
		return organizationId;
	}





	public void setOrganizationId(Long organizationId) {
		this.organizationId = organizationId;
	}





	public String toJson() {
		return JSONObject.toJSONString(this,true);
	}

	


}
